home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-05-22 | 924 b | 43 lines | [TEXT/MPCC] |
- //
- // File: TestFunctions.c
- //
- // Contains: Insert test functions for QuickTime VR inside this file.
- //
- // Written by: Tim Monroe
- // Based (heavily!) on the MovieShell code written by Apple DTS
- //
- // Copyright: © 1994-1996 by Apple Computer, Inc., all rights reserved.
- //
- // Change History (most recent first):
- //
- // <3> 12/06/96 rtm added keypad navigation code
- // <2> 11/27/96 rtm conversion to personal coding style
- // <1> 02/26/95 khs first file
- //
- //
-
- // header files
- #include "TestFunctions.h"
-
- #include "DTSQTUtilities.h"
- #include "MacFramework.h"
-
-
- //////////
- //
- // ChangePanAngle
- // Change the current pan angle the specified number of degrees.
- //
- //////////
-
- OSErr ChangePanAngle (QTVRInstance theInstance, float theAmount)
- {
- float myAngle;
- OSErr myErr;
-
- myAngle = QTVRGetPanAngle(theInstance);
- myAngle += theAmount;
- myErr = QTVRSetPanAngle(theInstance, myAngle);
-
- return(myErr);
- }